# Contributor: psykose <alice@ayaya.dev>
# Maintainer: psykose <alice@ayaya.dev>
pkgname=font-twemoji
pkgver=0.6.0
pkgrel=1
pkgdesc="Twemoji font in COLR/CPAL layered format"
url="https://github.com/mozilla/twemoji-colr"
options="!check" # no tests
arch="noarch"
license="CC-BY-4.0"
source="https://github.com/mozilla/twemoji-colr/releases/download/v$pkgver/TwemojiMozilla.ttf"

package() {
	depends="fontconfig"

	install -Dm644 "$srcdir"/TwemojiMozilla.ttf \
		-t "$pkgdir"/usr/share/fonts/TTF
}

sha512sums="
fa0ef5bcb7ce3ffda798a389efc6b1006397c616635e64fff7d58a94b8fdda6340c3328d7561b5aa6e7f9cf96cca8ae32940a498f0042ad76c85595a5aa239b2  TwemojiMozilla.ttf
"
